package cn.zsc.netdisk.util;

import java.io.Closeable;
import java.io.IOException;

/**
 * @author ccying
 * @date 2021/2/4
 */
public class Utils {
    public static void close(Closeable... closeable) {
        for (int i = 0; i < closeable.length; i++) {
            try {
                closeable[i].close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
